$(function () {
    show_company_detail();
})

function show_company_detail() {
    $.ajax({
        url: '/company-info',
        type: 'get',
        dataType: 'json',
        success: function (data) {
            // console.log('company info load successful');
            // console.log(data.status);
            if (data.status) {
                // console.log(data);
                $name = data.result['name'];
                $listen = data.result['listen'];
                $('#company-name').append($name);
                $('#company-listen').append($listen);
            } else {
                alert('企业数据获取失败');
            }
        }
    });
}